<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-31j">
<title>Insert title here</title>
</head>
<!-- 
<body>
	<script type="text/javascript">
		function setHiddenField(selectObj){
			var options = selectObj.options;
			for(var i=0;i<options.length;i++){
				if(options[i].selected){
					alert(options[i].test1);
				}
			}
		}
	</script>
	<select id="testObj.id" name="testObj.id" onchange="setHiddenField(this)">
		<option value="optionValue1" label="option1" test1 = "test11" test2 = "test21"/>
		<option value="optionValue2" label="option2" test1 = "test12" test2 = "test22"/>
	</select>
	<div style="display: none;">
		<input type="hidden" id="testObj.test1" name="testObj.test1" value="">
		<input type="hidden" id="testObj.test2" name="testObj.test2" value="">
	</div>	
</body>
 -->
</html>
